messagebox(null "this program requires windows nt","error",MB-ICONATION/MB-OR);
// (handle to owner window,text in messagebox,
message box tiile,message bos style i.e.icon and buttons)
// 1 is a binary or operator.
return 0;
}
hwnd = createwindowExC
ws-Ex-CLIENTEDGE,// entended window style;
specifies that a window has a border with a sunken edge.
9-sz class name           /// reqistered class name
"thye title of my program",// window name.the will be shown ibn the titlebar
WS-OVERLAPPED WNDOW // window style, creates an overlapped window mwith the WS_OVERLAPPED WINDOW
// WS-SYSMENU ,WS-THICKERNAME ,WS-MININMIZEBOX 	and WS-MAXIMIZEBOX styles
CS-USEDEFAULT,   // horizontal position of window CS-USEDEFAULT makes the system select default position
CS-usedefault,  // vertical position of window
240,   //window width
120,  //window height
null // handle to parent or owner window